# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/home/bavo/Projects/Mapparser/UI/MP_mainwindow.ui'
#
# Created: Sun Apr  6 16:56:46 2014
#      by: PyQt4 UI code generator 4.10.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(409, 414)
        self.centralWidget = QtGui.QWidget(MainWindow)
        self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
        self.gridLayout_2 = QtGui.QGridLayout(self.centralWidget)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(self.centralWidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 2, 1, 1)
        self.listView_map = QtGui.QListView(self.centralWidget)
        self.listView_map.setObjectName(_fromUtf8("listView_map"))
        self.gridLayout.addWidget(self.listView_map, 1, 0, 4, 2)
        self.lineEdit_searchfilter = QtGui.QLineEdit(self.centralWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_searchfilter.sizePolicy().hasHeightForWidth())
        self.lineEdit_searchfilter.setSizePolicy(sizePolicy)
        self.lineEdit_searchfilter.setObjectName(_fromUtf8("lineEdit_searchfilter"))
        self.gridLayout.addWidget(self.lineEdit_searchfilter, 2, 2, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 4, 2, 1, 1)
        self.pushButton_searchfilter = QtGui.QPushButton(self.centralWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_searchfilter.sizePolicy().hasHeightForWidth())
        self.pushButton_searchfilter.setSizePolicy(sizePolicy)
        self.pushButton_searchfilter.setObjectName(_fromUtf8("pushButton_searchfilter"))
        self.gridLayout.addWidget(self.pushButton_searchfilter, 3, 2, 1, 1)
        self.pushButton_browse_mapfile = QtGui.QPushButton(self.centralWidget)
        self.pushButton_browse_mapfile.setObjectName(_fromUtf8("pushButton_browse_mapfile"))
        self.gridLayout.addWidget(self.pushButton_browse_mapfile, 0, 0, 1, 1)
        self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralWidget)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
        self.label.setText(_translate("MainWindow", "Search filter", None))
        self.pushButton_searchfilter.setText(_translate("MainWindow", "Search", None))
        self.pushButton_browse_mapfile.setText(_translate("MainWindow", "Select MAP file", None))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    MainWindow = QtGui.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())

